
using System;
using System.Windows.Forms;
using NUnit.Framework;


using CStock;
using TestCases.StockData;

namespace TestCases.UI.Dialogs
{
	[TestFixture]
    public class IndicatorBuilderTest : ProgramContext_TestCases
	{
		CTrading.DialogIndicatorBuilder DialogIndicatorBuilder;
		[SetUp] 
		public void Init() 
		{
			

		}
       
        [Test]
        public void Show()
        {
            DialogIndicatorBuilder = new CTrading.DialogIndicatorBuilder(programContext);
            DialogIndicatorBuilder.ShowDialog();
            //ButtonTester button = new ButtonTester("buttonOK", DialogIndicatorBuilder);
            //button.Click();

        }
		[Test] 
		public void SaveDaily()
		{
            DialogIndicatorBuilder = new CTrading.DialogIndicatorBuilder(programContext);		
			DialogIndicatorBuilder.Show();
            //ButtonTester button = new ButtonTester("buttonOK", DialogIndicatorBuilder);
            //button.Click();
			
		}


//		Mock formManager = null;

//		public override Form ActivateForm()
//		{
//			formManager = new DynamicMock(typeof(IFormManager));
//
//			//return new AppForm(new AppController(new AppModel(), (IFormManager)formManager.MockInstance));
//		}
		
	}
}
